import java.util.Scanner;
public class example13{
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        long password = 123456;    //取款密码
        long input;    //用户输入的密码
        do {
            System.out.print("请输入您的取款密码:");
            input = scanner.nextInt();
        } while (input != password);
        System.out.println("密码正确，你可以进行取款!");
    }
}
